package com.ym.medical.dao;

import com.ym.medical.domain.entity.UserHealthRecordEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

/**
 * 健康币变动Dao接口
 *
 * @author ym
 * @date 2020-08-24
 */
@Repository
public interface UserHealthRecordDao extends Mapper<UserHealthRecordEntity> {
	/**
	 * 查询连续签到
	 * @param userId
	 * @return
	 */
	int selectContinueDays(@Param("userId") Long userId);

}
